Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mod_dav: add DavBasePath #377

Closed
wants to merge 4 commits into from
Closed

Conversation

notroj
Copy link
Collaborator

@notroj notroj commented Aug 16, 2023

No description provided.

root path, useful where the DAV repos is configured with a regex match.

* modules/dav/main/mod_dav.c
  (dav_get_resource): If available, pass the configured base path
  as the repos root to repos provider.
  On the error path for fetching a resource, detect and warn
  specifically when the location is configured via a regex.
  (dav_cmd_davbasepath): New function.

PR: 35077
Github: closes apache#376

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1911651 13f79535-47bb-0310-9956-ffa450edef68
(cherry picked from commit 8243437)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1911715 13f79535-47bb-0310-9956-ffa450edef68
(cherry picked from commit ed4cb1d)
docs/manual/mod/mod_dav.xml Outdated Show resolved Hide resolved
asfgit pushed a commit that referenced this pull request Aug 25, 2023
Submitted by: rpluem
Github: pull #377


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1911907 13f79535-47bb-0310-9956-ffa450edef68
  "conf" variable.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1911906 13f79535-47bb-0310-9956-ffa450edef68
(cherry picked from commit 706af91)
Submitted by: rpluem
Github: pull apache#377

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1911907 13f79535-47bb-0310-9956-ffa450edef68
(cherry picked from commit 59c725a)
@notroj
Copy link
Collaborator Author

notroj commented Aug 25, 2023

Thanks a lot for the reviews on this PR - updated now.

asfgit pushed a commit that referenced this pull request Sep 4, 2023
Add DAVBasePath directive to allow users to configure the real repos
root path, useful where the DAV repos is configured with a regex match.

* modules/dav/main/mod_dav.c
  (dav_get_resource): If available, pass the configured base path
  as the repos root to repos provider.
  On the error path for fetching a resource, detect and warn
  specifically when the location is configured via a regex.
  (dav_cmd_davbasepath): New function.

PR: 35077
Github: closes #377
Reviewed by: jorton, minfrin, rpluem

Merge r1911715, r1911907 from trunk:

Add docs for DavBasePath
Fix documented default for DavBasePath to match code.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1912081 13f79535-47bb-0310-9956-ffa450edef68
@notroj
Copy link
Collaborator Author

notroj commented Sep 4, 2023

Merged in ddd173b

@notroj notroj closed this Sep 4, 2023
@notroj notroj deleted the 2.4.x-davbasepath branch February 8, 2024 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants